.global main
.section .data
.section .rodata
.LC0:
	.string "the divide result is %d\n"

.text
main:
	pushl %ebp
	movl %esp, %ebp

	subl $16, %esp
	// a
	movl $217, -4(%ebp)
	// b
	movl $23, -8(%ebp)
	movl -4(%ebp), %eax
	cltd
	divl -8(%ebp)

	subl $8, %esp
	pushl %eax
	pushl $.LC0
	call printf
	addl $16, %esp

	movl $0, %eax
	leave
	ret
